#include <windows.h>
#include <tchar.h>

#include <stdio.h>
#include <time.h>

#include <commctrl.h> 
#pragma comment (linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#pragma comment (lib,"comctl32.lib")

#pragma comment(lib,"wsock32.lib")

#include <shlobj.h>

#include "global.h"
#include "resource.h"

#define LENGTH_STRING_MAX_CONFIG 32

#define DWORD_CONFIG_SAVEUN 0x00000001
#define DWORD_CONFIG_SAVEPW 0x00000002
#define DWORD_CONFIG_LOGAUT 0x00000004
#define DWORD_CONFIG_FOURCE 0x00000008
#define DWORD_CONFIG_RELINK 0x00000010

#define WM_NOTIFYICON 50001